package org.travelfusion.xmlclient.ri.xobject.misc;

import java.util.Map;

import org.travelfusion.xmlclient.xobject.XResponseBean;

/**
 * 
<pre>&lt;GetAirportsData millis="46656"&gt;
		&lt;LoginId&gt;&lt;/LoginId&gt;
		&lt;AirportList&gt;
			&lt;Airport&gt;
				&lt;IataCode&gt;XYZ&lt;/IataCode&gt;
				&lt;Country&gt;
					&lt;CountryName&gt;United States&lt;/CountryName&gt;

					&lt;CountryCode&gt;US&lt;/CountryCode&gt;
				&lt;/Country&gt;
				&lt;City&gt;
					&lt;CityName&gt;Cedar Springs&lt;/CityName&gt;
				&lt;/City&gt;
				&lt;AirportNameList&gt;
					&lt;AirportName&gt;
						&lt;Language&gt;English&lt;/Language&gt;
						&lt;LanguageCode&gt;en&lt;/LanguageCode&gt;
						&lt;Name&gt;Georgia Pacific&lt;/Name&gt;
					&lt;/AirportName&gt;
				&lt;/AirportNameList&gt;
			&lt;/Airport&gt;
		&lt;/AirportList&gt;
&lt;/GetAirportsData&gt;</pre>
 */
public class XGetAirportsDataResponse extends XResponseBean {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * Key: IataCode e.g. PVG
	 * Value: XAirportInfo
	 */
	private Map<String, XAirportInfo> airportsMap;

	/**
	 * Returns the airportsMap.
	 * @return the airportsMap.
	 */
	public Map<String, XAirportInfo> getAirportsMap() {
		return airportsMap;
	}

	/**
	 * Sets the airportsMap.
	 * @param airportsMap the airportsMap.
	 */
	public void setAirportsMap(Map<String, XAirportInfo> airportsMap) {
		this.airportsMap = airportsMap;
	}

}
